<?php
namespace Home\Model;
use Think\Model;
class MessageModel extends Model {
	public $table='zjy_message';
	public $page; //当前页
	public $perpage; //每页显示
	public $member_id; //ID
	public $post; //提交的信息 数组
	public $ids; //IDs 主要用于删除
	public $sorts; //IDs 主要用于删除
	public $keyword; //关键词

	public function message_add_post(){
		$Model=M("Message");
		$data=$this->post;
		if($Model->add($data)){
			return true;
		}else{
			return false;
		}
	}
}